package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallSystem;
import com.ctsi.ssdc.domain.LitemallSystemExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallSystemRepository extends BaseRepository<LitemallSystem, Integer, LitemallSystemExample> {
    @Override
    long countByExample(LitemallSystemExample example);

    @Override
    int deleteByExample(LitemallSystemExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallSystem record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallSystem record);

    @Override
    List<LitemallSystem> selectByExample(LitemallSystemExample example);

    @Override
    LitemallSystem selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallSystem record, @Param("example") LitemallSystemExample example);

    @Override
    int updateByExample(@Param("record") LitemallSystem record, @Param("example") LitemallSystemExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallSystem record);

    @Override
    int updateByPrimaryKey(LitemallSystem record);
}